//统一管理相关的接口
import request from "@/utils/request";

//统一管理接口
enum API {
    BONDLEND_URL = "/itp/api/bond/lending",
    INV_BONDLEND_URL = "/itp/api/inverstresearch",
}

//债券借贷数据查询
export const getBondLendData = (val:any) => request.get(`${API.INV_BONDLEND_URL}/bond/lending/data?bondCode=${val}`);


export const getBondLendDataDv = (param:any) => request.post(`${API.INV_BONDLEND_URL}/futures/dv`,param);

export const getEtlDep = (id:any)=> request.get(`/itp/api/account/position/select/deptId/dictSecuritesDetailType?deptId=${id}&dictSecuritesDetailType=GOVFUT`);